package com.itcast.demo.proxy.service.impl;

import com.itcast.demo.proxy.service.Subject;

/**
 * 需要动态代理的实际对象
 *
 * @author zheng.zhang
 */
public class SubjectImpl implements Subject {
    @Override
    public String sayHello(String name) {
        return "Hello".concat(name);
    }

    @Override
    public String sayGoodBye() {
        return "Goodbye!";
    }
}
